﻿<script>
function validate(form){
	var ten_quyen = form.txtphan_quyen.value;
	if(ten_quyen=="")
	{
		inlineMsg('txtphan_quyen','Chưa nhập mô tả.',2);
		return false;
	}
	return true;
}
</script>
<div class="table"><h2><span>Thêm Quyền</span></h2></div><br />
<form action="quyen/luu_quyen.php" method="post"  name="frmThemquyen" enctype="multipart/form-data" class="form" onsubmit="return validate(this)">
<table width="100%" cellpadding="0" cellspacing="0">
  <tr>
    <td width="150"><label><strong>Mã quyền(*)</strong></label></td>
    <td>
      <input type="text" size="75" name="txtma_quyen" id="txtma_quyen" value=""/>
    </td>
</tr>
  <tr>
    <td width="150"><label><strong>Mô tả(*)</strong></label></td>
    <td>
      <input type="text" size="75" name="txtphan_quyen" id="txtphan_quyen" value=""/>
    </td>
</tr>
  <tr>
	<td></td>
	<td>
	<input type="submit" name="luu" id="luu" value="Lưu thông tin " class="button"/>
	<input type="reset" name="reset" id="reset" value="Nhập lại" class="button"/>&nbsp;&nbsp;&nbsp;
	<input type="button" name="back" id="back" value="Trở về" onclick="location.href='index.php?noidung=dsq'" class="button" />
  </td>
  </tr> 
</table>
</form>